﻿<%@ Page Title=" : ประวัติการทำงานในระบบ : " Language="C#" MasterPageFile="~/masterpage/Site.Master" AutoEventWireup="true" CodeBehind="systemtransaction.aspx.cs" Inherits="Web.pages.systemtransaction" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="upl" UpdateMode="Conditional"  runat="server">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="grvResult"/>
        </Triggers>
        <ContentTemplate>
            <div style="width: 100%; height: 100%;">
                <asp:GridView Width="100%" CssClass="table_empty" AutoGenerateColumns="False" BorderWidth="1px"
                    AllowPaging="True" PageSize="18" AllowSorting="True" EmptyDataText="ไม่มีข้อมูล" ID="grvResult" runat="server">
                    <HeaderStyle CssClass="row_header"></HeaderStyle>
                    <RowStyle CssClass="row_style" />
                    <AlternatingRowStyle CssClass="row_alter" />
                    <Columns>
                        <asp:TemplateField HeaderText="ลำดับ"   >
                            <HeaderStyle HorizontalAlign="Center" Width="50px" CssClass="row_header" />
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            <ItemTemplate>
                                <asp:Label ID="lbNo" runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="ชื่อผู้ใช้">
                            <HeaderStyle HorizontalAlign="Center" Width="150px" CssClass="row_header" />
                            <ItemStyle HorizontalAlign="Left" />
                            <ItemTemplate>
                                <asp:Label ID="UID" Text='<%# DataBinder.Eval(Container.DataItem, "UID") %>' runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="เหตุการ์ณ">
                            <HeaderStyle HorizontalAlign="Center" Width="100px" CssClass="row_header" />
                            <ItemStyle HorizontalAlign="Center" />
                            <ItemTemplate>
                                <asp:Label ID="EVENT" Text='<%# DataBinder.Eval(Container.DataItem, "EVENT") %>' runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="วันและเวลา">
                            <HeaderStyle HorizontalAlign="Center" Width="200px" CssClass="row_header" />
                            <ItemStyle HorizontalAlign="Center" />
                            <ItemTemplate>
                                <asp:Label ID="UPDATE" Text='<%# DataBinder.Eval(Container.DataItem, "UPDATE") %>' runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="IP Address">
                            <HeaderStyle HorizontalAlign="Center" Width="100px" CssClass="row_header" />
                            <ItemStyle HorizontalAlign="Center" />
                            <ItemTemplate>
                                <asp:Label ID="LASTIP" Text='<%# DataBinder.Eval(Container.DataItem, "LASTIP") %>' runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="สาเหตุ">
                            <HeaderStyle HorizontalAlign="Center" Width="400px" CssClass="row_header" />
                            <ItemStyle HorizontalAlign="Left" />
                            <ItemTemplate>
                                <asp:Label ID="DESCRIPT" Text='<%# DataBinder.Eval(Container.DataItem, "DESCRIPT") %>' runat="server"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
